<%@ page import="java.util.Date" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Index</title>
    <base target="_blank"/>
</head>
<body>
<p>Hello Web!</p>
<p>
    <jsp:useBean id="now" class="java.util.Date" />
    服务器时间：
    <fmt:formatDate value="${now}" pattern="yyyy-MM-dd HH:mm:ss"/>
</p>
<a href="myTest2/a">myTest2/a</a><br />
<a href="services">webservice</a><br />
</body>
</html>